﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace pwblog.Web.Admin
{
    public partial class ketquadangky : System.Web.UI.Page
    {
        protected string r;
        protected void Page_Load(object sender, EventArgs e)
        {

            r = Request.QueryString["r"];
        }
        protected string ConvertRelativeUrlToAbsoluteUrl(string relativeUrl)
        {

            if (Request.IsSecureConnection)

                return string.Format("https://{0}:{1}{2}", Request.Url.Host, Request.Url.Port, Page.ResolveUrl(relativeUrl));

            else

                return string.Format("http://{0}:{1}{2}", Request.Url.Host, Request.Url.Port, Page.ResolveUrl(relativeUrl));

        }
    }
}